class CategoryEntity {
  String cat_id, level, cat_name, cat_icon;

  CategoryEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      cat_id = json['cat_id'];
      level = json['level'];
      cat_icon = json['cat_icon'];
      cat_name = json['cat_name'];
    }
  }

  // @override
  // String toString() => '{cat_id=$cat_id, level=$level, cat_name=$cat_name}';
}
